﻿using System.Collections.Generic;

namespace Neo4jConnect.Rest
{
    public interface IRelationshipService
    {
        string Create(ulong nodeId, string relationshipData);
        void Delete(ulong relationshipId);

        void SetProperties(ulong nodeId, string relationshipData);
        string GetProperties(ulong nodeId);
        void RemoveProperties(ulong relationshipId);

        void SetProperty(ulong relationshipId, string propertyName, string propertyValue);
        string GetProperty(ulong relationshipId, string propertyName);
        void RemoveProperty(ulong relationshipId, string propertyName);
        
        string GetRelationshipsOnNode(ulong nodeId, RelationshipDirection relationshipDirection, IEnumerable<string> relationshipTypes);
    }
}
